<?php
class BookDao extends XDao_Model
{
	protected $table  = 'books';
	protected $prefix = 'book_';
	protected $vo     = 'BookVo'; // reference to book value object class

	protected $relations = array
	(
		'author' => array(XDb::BELONGS_TO, 'AuthorDao'),
		'stores' => array(XDb::MANY_TO_MANY, 'StoreDao'),
	);
}
?>